package com.ztgf.shopping.models.bo.epg;

import com.alibaba.fastjson.annotation.JSONField;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.models.auth.In;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 *
 * banner表SaveBO
 * @author zhanghualang
 * @create 2020-05-18
 */
@Data
public class EpgBannerSaveBO implements Serializable {
    @ApiModelProperty(value = "主键id")
    private Long id;

    @ApiModelProperty(value = "图片地址")
    private String logoUrl;

    @ApiModelProperty(value = "类型 0平台，1商铺")
    private Integer type;

    @ApiModelProperty(value = "banner类型 0banner，1启动页，2首页提示框")
    private Integer bannerType;

    @ApiModelProperty(value = "跳转类型 0不跳转，1跳内页、2跳h5、3请求后台方法")
    private Integer skipType;

    @ApiModelProperty(value = "ios跳转地址 ios跳转路径或者方法")
    private String skipUrlIos;

    @ApiModelProperty(value = "pc跳转地址 pc跳转的路径或者方法")
    private String skipUrlPc;

    @ApiModelProperty(value = "安卓跳转地址 安卓跳转路径或者方法")
    private String skipUrlAndroid;

    @ApiModelProperty(value = "状态 0正常、1删除")
    private Integer status;

    @ApiModelProperty(value = "开始时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")//输入字符串
    private Date beginTime;

    @ApiModelProperty(value = "结束时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")//输入字符串
    private Date endTime;

    @ApiModelProperty(value = "发布 0未发布，1发布")
    private Integer isPublish;

    @ApiModelProperty(value = "店铺id")
    private Long shopId;

    @ApiModelProperty(value = "模版id")
    private Long templetId;

    @ApiModelProperty(value = "功能id")
    private Long moduleId;

    @ApiModelProperty(value = "排序")
    private Integer sort;

    @ApiModelProperty(value = "左侧div颜色")
    private String leftBgcolor;
    @ApiModelProperty(value = "右侧div颜色")
    private String rightBgcolor;
}
